package com.celesea.auth.menu.service;

import com.alibaba.fastjson.JSON;
import com.celesea.auth.BaseJUnitIT;
import com.celesea.auth.menu.vo.MenuVo;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * ${DESCRIPTION}
 *
 * @author JackYuan
 * @create 2017-10-25 21:35
 */
public class MenuServiceImplIT extends BaseJUnitIT {

    @Autowired
    private MenuService menuService;

    @Test
    public void testMenuTree() {
        Map<String, List<MenuVo>> maps = menuService.selectMenus();
        logger.info(JSON.toJSONString(maps));
    }

}